#pragma once
#include <Windows.h>
#include <gl\GL.h>
#include <gl\GLU.h>
#include <string>
#include <vector>

class Terrain
{
public:
	Terrain(std::string fileName, float xScale, float yScale, float zScale);
	~Terrain(void);
	void render();
	void * data();

	int width;
	int length;

private:
	void load(std::string fileName);
	std::vector<float> heights;
	GLuint terrainId;
	int sx,sy,sz;
};
